package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.entity.QueryPageBeanCondition;
import com.itheima.entity.Result;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealDao {
	void add(Setmeal setmeal);

	void setCheckGroupAndSetmeal(Map<String, Integer> map);

	Page<CheckGroup> selectByCondition(QueryPageBeanCondition queryPageBeanCondition);

	Integer findGSetmeal(String queryGroupName);

	Integer findSetmealId(Integer group_id);

	Result findSetmealIdAll(Integer setmeal_id);

	List<Setmeal> findByGroupName(String queryGroupName);

	List<Setmeal> findAll();

	Setmeal findById(int id);

	List<Map<String, Object>> findSetmealCount();

	List<Map<String, Object>> findSetmealCountTwo();
}
